package com.m2bshop.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author asus
 * @create 2022/6/13 22:43
 */
@AllArgsConstructor
@NoArgsConstructor
public class Favorites {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer userid;//外联的用户Id
    private String name;
    private String model;
    private long price;
    private Integer dlperiod;
    private Integer weight;
    private Integer gid;

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public long getPrice() {
        return price;
    }

    public void setPrice(long price) {
        this.price = price;
    }

    public Integer getDlperiod() {
        return dlperiod;
    }

    public void setDlperiod(Integer dlperiod) {
        this.dlperiod = dlperiod;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
}
